package com.zy;

public class Pet {
    private int id;
    private String owner_id;
    private String pet_name;
    private String type;
    private int age;
    private String gender;

    public Pet(){

    }

    public Pet(int id,String owner_id,String pet_name,String type,int age,String gender){
        this.id = id;
        this.owner_id = owner_id;
        this.pet_name = pet_name;
        this.type = type;
        this.age = age;
        this.gender = gender;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOwner_id() {
        return owner_id;
    }

    public void setOwner_id(String owner_id) {
        this.owner_id = owner_id;
    }

    public String getPet_name() {
        return pet_name;
    }

    public void setPet_name(String pet_name) {
        this.pet_name = pet_name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "pets{" +
                "id=" + id +
                ", owner_id=" + owner_id +
                ", pet_name='" + pet_name + '\'' +
                ", type='" + type + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                '}';
    }
}
